package com.dk.service;

import com.dk.pojo.Location;
import com.dk.result.PageResult;
import com.dk.result.Result;

public interface LocationService {
    PageResult<Location> getLocationInfo(Integer pageNum, Integer pageSize, String name, Integer wid);

    Result addLocation(Location location, String token);

    Result updateLocation(Location location, String token);

    void deleteLocation(Integer lid);
}
